﻿<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="static/css/login.css" />
	<title> 移动办公自动化系统 </title>
</head>
<body>
    <form id="dd" name="dd">
        <div id="container">
            <div id="bd">
                <div class="login">
                    <div class="login-top"><h1 class="logo"></h1></div>
                    <div class="login-input">
                        <p class="user ue-clear">
                            <label>用户名</label>
                            <input type="text" />
                        </p>
                        <p class="password ue-clear">
                            <label>密&nbsp;&nbsp;&nbsp;码</label>
                            <input type="text" />
                        </p>
                    </div>
                    <div class="login-btn ue-clear">
                        <a href="/MagerMain/Index" class="btn">登录</a>
                        <div class="remember ue-clear">
                            <input type="checkbox" id="remember" />
                            <em></em>
                            <label for="remember">记住密码</label>
                        </div>
                    </div>
                </div>
                <input id="aa"  type="button" onclick="bb()"   value="=kkk"/>
            </div>
        </div>
    <script>
        function bb()
        {
            alert($("#aa").parents('form')[0].id);
        }
    </script>
    </form>

    <div id="ft">CopyRight&nbsp;2016&nbsp;&nbsp;版权所有&nbsp;&nbsp;zippo.com专注于ui设计&nbsp;&nbsp;皖ICP备12345678号</div>
</body>
<script type="text/javascript" src="common/js/jquery.js"></script>
<script type="text/javascript">
var height = $(window).height();
$("#container").height(height);
$("#bd").css("padding-top",height/2 - $("#bd").height()/2);

$(window).resize(function(){
	var height = $(window).height();
	$("#bd").css("padding-top",$(window).height()/2 - $("#bd").height()/2);
	$("#container").height(height);
	
});

$('#remember').focus(function(){
   $(this).blur();
});

$('#remember').click(function(e) {
	checkRemember($(this));
});

function checkRemember($this){
	if(!-[1,]){
		 if($this.prop("checked")){
			$this.parent().addClass('checked');
		}else{
			$this.parent().removeClass('checked');
		}
	}
}
</script>
</html>